package com.explorati.design_pattern.creational.builder.example.v2;

import com.explorati.design_pattern.creational.builder.example.v2.Product.Builder;

public class Test {

	public static void main(String[] args) {
		Product product = new Product.Builder().buildProductName("百事可乐").buildProduceDate("六月十五").buildProductInstruction("爽口").build();
//		
//		Builder builder = new Builder();
//		builder.buildProductName("百事可乐").buildProduceDate("六月十五").buildProductInstruction("爽口");
//
//		Product product = new Product(builder);
		System.out.println(product);
	}
}
